<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.io.*,java.util.*,java.text.*" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="mystyle.css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Support Executive Page</title>
</head>
<body>
<center><h2>Welcome, Support Executive!</h2>
<h3>Issues to be Resolved</h3></center>
<br>
<s:form action="supportView_ticketList" >
<table align="center" id="text">
<tr>
<th>Ticket No.</th>
<th>Problem Category</th>
<th>Problem Summary</th>
<th>Date</th>
</tr>
<s:iterator value="tickets">
  <tr>
  <s:url id="ticketList" action="supportView_ticketDetails">
<s:param name="id" value="id"/>
</s:url>
    <td ><s:a href="%{ticketList}"><s:property value = "id" /></s:a></td>
    <td ><s:property value = "category" /> </td>
    <td ><s:property value = "summary" /> </td>
    <td ><s:date name="date" format="dd/MM/yyyy" /> </td>
  </tr>
</s:iterator>
</table>
<p></p>
</s:form>
<br><br><center>
<s:form action="logout" align="center">
<s:submit name = "submit" value="SignOut"/>
</s:form>
</center>
</body>
</html>